package com.app.base.service.core.personnel.mapper;

import com.app.base.service.core.personnel.entity.PersonInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 员工详情 Mapper 接口
 * @author yuhag
 * @since 2022-05-11
 */
@Mapper
public interface PersonInfoMapper extends BaseMapper<PersonInfo> {

    List<PersonInfo> pagePersonInfo(@Param("startTime") String startTime, @Param("endTime") String endTime,
                                    @Param("name") String name, @Param("education") Integer education,
                                    @Param("expectedPosition") String expectedPosition,
                                    @Param("reviewer") String reviewer, @Param("graduationSchool") String graduationSchool,
                                    Page<PersonInfo> page);


    List<PersonInfo> pagePersonAdopt(Page<PersonInfo> page);
}
